package com.gitee.feizns.itrip.personal.biz.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author feizns
 * @since 2019/1/11 0011
 */
public interface BizHotelTempStoreMapper {

    /**
     * 查询指定房间在指定时间内的临时库存量
     * @param roomId
     * @param startDate
     * @param endDate
     * @return
     */
    Integer checkTheInventoryOfTheRoomWithinTheSpecifiedTime(@Param("roomId") Long roomId,
                                                            @Param("startDate") Date startDate,
                                                            @Param("endDate") Date endDate);

}

